#!/usr/etc/env python
#-*- coding:utf-8 -*-

dic = {'one':1, 'two':2, 'three':3}
sort_key = sorted(dic)
for key in sort_key:
    print 'key %s = %s' % (key ,dic[key])


#创建字典
a = [1,2,3,4]
b = ['abc','def','ghi']
d = dict(zip(a,b))
print d
